/*nav.css*/

.navBarBox {
  color: #fff;
  display: block;
  height: 60px;
  line-height: 60px;
  /*background-color: #2d3c53;*/
  background: #3f51b5;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1999;
  overflow: hidden;
}



.filler {
  flex-grow: 1;
}

.right-flex {
  margin-left: auto;
  padding-right: 30px;
}

.page-box {
  background: #3f51b5;
}

.page-box .menu {
  display: inline-block;
  padding: 2px;
  z-index: 10;
}



.page-box .menu>mat-icon {

  vertical-align: middle;
}

.logo {
  font-size: 28px;
  line-height: 60px;
  padding:0px 16px;
  margin-right: 26px;
  color: #fff;
}

.small-logo-title {
  font-size: 12px;
  font-weight: 700;
}

.slide-nav-item {
  width: 100%;
  overflow: hidden;
  min-width: 8px;
}
.slide-nav-item .animated.swing{

  height: 17px;
}
@media only screen and (max-width: 1400px) {
  .logo {
    font-size: 24px;
  }
  .slide-nav-item-text {
    opacity: 0;
    display: none;
  }
}

@media only screen and (max-width: 960px) {
  .logo {
    font-size: 24px;
  }
  .slide-nav-item-text {
    opacity: 1;
    display: inline-block;
  }
}








/*icon nav*/

.navBarBox>a {
  color: #fff;
  display: inline-block;
  height: 100%;
}

.navBarBox-icon{
  height: 60px;
}
.navBarBox-icon>a,
.navBarBox-botton>a {
  transition: background-color .3s;
  font-size: 1rem;
  color: #fff;
  display: inline-block;
  line-height: 60px;
  padding: 0 15px;
  cursor: pointer;
}

.navBarBox-icon>a:hover {
  background: rgba(0, 0, 0, .3);
}

.navBarBox-botton>a {
  padding: 0;
}

.navBarBox-botton .active {
  background-color: rgba(0, 0, 0, .3);
}

.translate-menu-panel{
  padding: 0 15px;
}

.progress {
  position: relative;
  display: block;
  width: 48px;
  height: 8px;
  background-color: #acece6;
  border-radius: 2px;
  overflow: hidden;
}

.progress .determinate {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: #26a69a;
  transition: width .3s linear;
}



/*iphone nav bottom*/
@media only screen and (max-width: 600px) {
  .footer-nav{
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 292999;
    height: 40px;
    width: 100%;
  }
  .footer-nav .navBarBox-icon>a{
    color: #000;
    padding: 0 5px;
  }
}




/*slide nav*/

.slide-nav-box.mat-sidenav-opened {
  width: 170px;
  box-shadow: 1px 0 6px rgba(0, 0, 0, .24);
}

.slide-nav-box {
  display: block;
  -webkit-height: calc(100% - 60px);
  height: calc(100% - 60px);
  position: fixed;
  left: 0;
  top: 60px;
  z-index: 990;
}


.slide-nav-inner {
  width: 100%;
}

@media only screen and (max-width: 1400px) {
  .slide-nav-box.mat-sidenav-opened {
    width: 60px;
  }
}

@media only screen and (max-width: 959px) {
  .slide-nav-box.mat-sidenav-opened {
    width: 170px;
  }
  .navBarBox {
    height: 50px;
    line-height: 50px;
  }
  .navBarBox-icon>a,
  .navBarBox-botton>a {
    line-height: 50px;
  }
  .logo {
    font-size: 1.4em;
    line-height: 50px;
  }
  .slide-nav-box {
    -webkit-height: calc(100% - 50px);
    height: calc(100% - 50px);
    top: 50px;
  }
}

mat-sidenav>a.mat-button {
  text-align: left;
  padding-top: 6px;
  padding-left: 30px;
  padding-bottom: 6px;
  color: rgba(163, 175, 183, .9);
}

mat-sidenav>a.mat-button.active {
  background-color: rgba(0,0,0,.1);
  color: #000;
}

mat-sidenav>a.mat-button:hover {
  color: #000;
}

mat-sidenav>a.mat-button:hover mat-icon {
  animation: 0.5s swing;
}

@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 30deg);
    transform: rotate3d(0, 0, 1, 30deg);
  }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -20deg);
    transform: rotate3d(0, 0, 1, -20deg);
  }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 10deg);
    transform: rotate3d(0, 0, 1, 10deg);
  }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 30deg);
    transform: rotate3d(0, 0, 1, 30deg);
  }
  40% {
    -webkit-transform: rotate3d(0, 0, 1, -20deg);
    transform: rotate3d(0, 0, 1, -20deg);
  }
  60% {
    -webkit-transform: rotate3d(0, 0, 1, 10deg);
    transform: rotate3d(0, 0, 1, 10deg);
  }
  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }
  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}


/*lang*/

.whiteSelect{
  width: 75px;
}


#navContent a{
  color: #fff;
  font-size: 14px;
  padding: 6px 10px;
  height: 100%;
  display: inline-block;
}
#navContent a span{
  margin-left: -6px;
}
#navContent a:hover,#navContent a.active{
  background: rgba(0,0,0,0.3);
}